package io.lkt.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.lkt.common.utils.PageUtils;
import io.lkt.modules.sys.entity.BUserInfoEntity;
import io.lkt.modules.sys.entity.WantedUsersEntity;
import io.lkt.modules.sys.entity.WantedUsersLogEntity;

import java.util.List;
import java.util.Map;

/**
 * 全网通缉用户名单
 *
 * @author xss
 * @email dustwas@163.com
 * @date 2021-01-20 11:44:02
 */
public interface WantedUsersService extends IService<WantedUsersEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<WantedUsersEntity> queryList(Map<String,Object> map);

    Integer queryTotal(Map<String,Object> map);

    WantedUsersEntity queryById(Integer id);

    int creatWanted(WantedUsersEntity wantedUsersEntity);

    void updateWanted(WantedUsersEntity wantedUsersEntity);

    void deleteWantedByIds(List<Integer> list);

    boolean queryInWanted(BUserInfoEntity userInfo) throws Exception;

    int addWantedUsersLog(WantedUsersLogEntity wantedUsersLog);
}
